home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 016a / patch100.zip / PATCHER.DOC < prev    next >
Text File  |  1991-12-14  |  4KB  |  130 lines

  1.                                                   
  2.                                                   
  3.                                                   
  4.                                                   
  5.                                                   
  6.                                                   
  7.                                                   
  8.                                                   
  9.  
  10.                                                  PATCHER.EXE                                                  E
  11.                                                  COMPARE.EXE
  12.                                                  Version 1.00                                                 1.00
  13.                                                  12/12/91
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.      
  36.      DISCLAIMER's WARRANTY
  37.      ======================
  38.      The author will not be held responsible for any
  39.      damages, physical or emotional, caused by the use of
  40.      this program. Use this program at your own risk.
  41.      
  42.  
  43.      
  44.      QUICK DESCRIPTION
  45.      =================
  46.      COMPARE.EXE program will compare two files (an original
  47.      and a modified) and will create a text file containing
  48.      the differences between the two compared files.
  49.      PATCHER.EXE will read this data file and modify a copy
  50.      of the original file to obtain a copy of the modified
  51.      file.
  52.      
  53.  
  54.  
  55.      
  56.      EXTENDED DESCRIPTION
  57.      =====================
  58.      
  59.      COMPARE.EXE
  60.      -----------
  61.          Usage: COMPARE.EXE datafile.CMP original.exe modified.exe
  62.      
  63.      COMPARE creates datafile.cmp which will contain a
  64.      listing of all the different bytes found in the
  65.      comparison of original.exe and modified.exe.  The
  66.      original.exe is the name of the unmodified file.
  67.      Modified.exe is a modified version of original.exe.
  68.  
  69.           For example:
  70.                Using a debugger, John modifies his wp.exe.
  71.                John then uses COMPARE.EXE to compare his
  72.                 original.exe and his newly modified version.
  73.                 COMPARE.EXE creates a data file.
  74.                Wendy and John have the same word processor!
  75.                Wendy is interested in performing the same
  76.                 modification to her word processor so she
  77.                 uses the PATCHER.EXE file to read the
  78.                 data file created by John (and compare.exe).
  79.      
  80.  
  81.      The following is a sample data file created by COMPARE.EXE:
  82.  
  83.      test.1         <==== Name of original file
  84.      7              <==== length of original file
  85.      5,4e,6e        <==== at offset 5, the original file had
  86.                            hex char '4e' but the
  87.                            modified version had hex char '6e'
  88.      
  89.      Comments maybe added (using a word processor) to the
  90.      data file by simply adding lines beginning with ASCII
  91.      character '*' followed by the desired comment. Each
  92.      comment line must being with '*'.
  93.      IMPORTANT:  Comments line can only be added anywhere
  94.      after the line containing the "length of the original
  95.      file".
  96.      
  97.      Example:
  98.      test.1              <==== Name of original file
  99.      7                   <==== length of original file. Comment
  100.                                are added after this line!
  101.      * Patch by John     <==== Comment lines are always
  102.                                proceeded the '*'  character
  103.      5,4e,6e        <==== at offset 5, the original file had
  104.                                hex char '4e' but the
  105.                                modified version had hex char '6e'
  106.  
  107.         DO NOT ADD ANY EMPTY LINES!
  108.      
  109.      
  110.      
  111.      PATCHER.EXE
  112.      -----------------------
  113.      
  114.           Usage: PATCHER datafile.CMP dest.exe
  115.      
  116.      REMEMBER: Prior to using PATCHER.EXE, make a backup of
  117.      your dest.exe file!
  118.      
  119.      PATCHER.EXE reads the datafile.cmp and modifies the
  120.      dest.exe file according to the information presented in
  121.      the data file.
  122.      IMPORTANT: The dest.exe file must be an exact copy of
  123.      the original.exe file. The length and content must be
  124.      identical or else PATCHER.EXE will not work properly.
  125.      If the dest.exe filename is omitted, PATCHER will
  126.      search and modify the filename specified in the first
  127.      line of the data file (which is also the name of the
  128.      original file).
  129.  
  130.